package com.risems;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Auther: lifeng
 * @Date: 2018/12/14 23:45
 * @Description:
 */
@MapperScan("com.risems.dao")//将项目中对应的mapper类的路径加进来就可以了
@SpringBootApplication
public class WebAppStart {
    private static final Logger logger = LoggerFactory.getLogger(WebAppStart.class);
    public static void main(String[] args) {
        SpringApplication.run(WebAppStart.class,args);
        logger.info("risems-web 启动完成");
    }
}
